import request from '@/utils/request';

export function login(mobile,password) {
    return request({
        url: `app/login`,
        method: 'post',
        data:{
            mobile,
            password
        }
    })
}

export function register(mobile,password) {
    return request({
        url: `app/register`,
        method: 'post',
        data:{
            mobile,
            password
        }
    })
}